<template>
  <li>
    <a href="" target="_blank">
      <div class="images">
        <img :src="img1" alt="武汉公选王教育科技有限公司" />
      </div>
      <div class="text">
        <h3>武汉公选王教育科技有限公司</h3>
        <p>2000㎡ | 办公 | 网络/科技</p>
        <div class="click-more">CLICK MORE ↓</div>
      </div>
    </a>
  </li>
</template>

<script setup>
import img1 from "../../assets/imgs/home/serviceimg1.png";
</script>

<style lang="less" scoped>
li {
  a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    &:hover {
      color: #fff;
      background: #da1a45;
    }
    &:hover .images {
      transform: translateY(-44px);
    }
    &:hover .text {
      height: 126px;
      padding: 0 20px;
    }
    .images {
      transition: all 0.4s ease;
    }
    .text {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      transition: height 0.4s ease;
      height: 82px;
      h3 {
        padding-top: 20px;
        font-size: 16px;
        margin-bottom: 10px;
        color: #fff;
      }
      p {
        color: #969696;
        margin-bottom: 20px;
      }
    }
  }
}
</style>
